The Frequency Median Sequence and its Construction
نویسندگان
چکیده
A graph model based on single character operations is developed for constructing the median of two strings X and Y. Vertices represent stages of median construction and edges correspond to processing one or both characters of the two strings. In this paper, the median is defined as a string having the median character frequency of each character over the two strings and which minimizes the maximum distance to either string. While the graph has O(mn) vertices (product of the lengths of the two strings), an O(d∙p∙lg(p)) algorithm is presented for finding a median of length p where d = DE(X, Y) is the Levenstein or edit distance between X and Y. The algorithm uses a character frequency based bound and a priority queue to find a median.
منابع مشابه
The Investigation of Median Frequency Changes in Paraspinal Muscles Following Fatigue
Objectives: There are two sub systems of paraspinal muscles, the global-mobilizing system and the local stabilizing system. The multifidus muscles are assigned to the local system and stabilize the joints. In contrast, the longissimus muscles are assigned to the global system and force exertion. This study aimed to investigate the median frequency changes in mobilizing and stabilizing muscles f...
متن کاملConstruction of chimeric protein 3M2e.FliC and its immunoinformatics analyses and expression in Bacillus subtilis
Introduction: Influenza A virus causes unpredictable epidemics and pandemics by creating antigenic variations. With the appearance of each new strain, rapid emergency countermeasures are taken against this new strain. Hence, designing an applicable and cross protective strategy to counter this virus is of great importance. To achieve this, choosing conserved antigenic regions in influenza virus...
متن کاملA PRACTICAL APPROACH TO REAL-TIME DYNAMIC BACKGROUND GENERATION BASED ON A TEMPORAL MEDIAN FILTER
In many computer vision applications, segmenting and extraction of moving objects in video sequences is an essential task. Background subtraction, by which each input image is subtracted from the reference image, has often been used for this purpose. In this paper, we offer a novel background-subtraction technique for real-time dynamic background generation using color images that are taken fro...
متن کاملبررسی استرسهای شغلی در کارگران سازمان بنادر و کشتیرانی استان هرمزگان و ارتباط آن با حوادث غیر مرگبار رخ داده
Introduction: Investigation of job stress among people who have experienced accidents could help to recognize causes of events in workplaces. The objective of this study was to measure frequency and severities of work stressors among staff employed at the Hormozgan Ports & Sailing Organization, and determine its relationship with accidents. Methods: This cross-sectional study included 320 Hor...
متن کاملEstimating Elasticity of Substitution between Land and Capital in a Median City (City of Dorud as a Case Study)
Some unique characteristics of housing goods such as spatial dependency, heterogeneity and durability make housing market analysis different from ordinary goods. However principles in ordinary goods market such as profit maximization are used by developer in housing market. one of the housing market characteristic is that land as a most important input for housing services production has low de...
متن کامل